package com.hyfd.controller.mp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hyfd.controller.sys.BaseController;
import com.hyfd.service.mp.ProviderReportSer;

@Controller
public class ProviderReportCtl extends BaseController{

	@Autowired
	ProviderReportSer providerReportSer;
	
	@GetMapping("providerFlowStatementPage")
	public String ProviderFlowStatementListPage(HttpServletRequest request,HttpServletResponse response){
		return "mp/providerFlowStatement";
	}
	
	@PostMapping("providerFlowStatementList")
	@ResponseBody
	public String ProviderFlowStatementList(HttpServletRequest request,HttpServletResponse response){
		return providerReportSer.ProviderFlowStatementList(request, response);
	}
	
	@GetMapping("toDetailFlowOrderList")
	public String toDetailOrderList(HttpServletRequest request,HttpServletResponse response){
		return providerReportSer.toDetailFlowOrderList(request, response);
	}
	
	@PostMapping("detailFlowOrderList")
	@ResponseBody
	public String detailOrderList(HttpServletRequest request,HttpServletResponse response){
		return providerReportSer.detailFlowOrderList(request, response);
	}
	
	@GetMapping("exportFlowOrderExcel")
	public void exportFlowOrderExcel(HttpServletRequest request,HttpServletResponse response){
		providerReportSer.exportFlowOrderExcel(request, response);
	}
	
}
